import 'package:islandingclub/net/dio_http_client.dart';

/// serverApi
class ServerApi {
  static Future<dynamic> test() {
    DioHttpClient.getInstance()
        .get('https://api.51app.cn/diyMall/index/sortHome.do?type=topNav')
        .then((result) {});
  }

  // static Future<NewOneResult> getNewOne() {
  //   return DioHttpClient.getInstance()
  //       .get("/api/1?viewid=home&part=get_newone")
  //       .then((Map<String, dynamic> result) {
  //     return NewOneResult.fromJson(result);
  //   });
  // }
}
